import request from '@/utils/request'

// 汽车品牌类型列表
export function apiCarBrandLists(params: any) {
    return request.get({ url: '/car_brand/lists', params })
}

// 添加汽车品牌类型
export function apiCarBrandAdd(params: any) {
    return request.post({ url: '/car_brand/add', params })
}

// 编辑汽车品牌类型
export function apiCarBrandEdit(params: any) {
    return request.post({ url: '/car_brand/edit', params })
}

// 删除汽车品牌类型
export function apiCarBrandDelete(params: any) {
    return request.post({ url: '/car_brand/delete', params })
}

// 汽车品牌类型详情
export function apiCarBrandDetail(params: any) {
    return request.get({ url: '/car_brand/detail', params })
}

export function apiCarBrandAll(params: any) {
    return request.get({ url: '/car_brand/all', params })
}

export function apiCarBrandGetParent(params: any) {
    return request.get({ url: '/car_brand/getParent', params })
}